import request from '@/http/request';

export const userLogin = (username: string, password: string) =>
    request({
        url: '/api/trio-auth/oauth/token',
        method: 'post',
        params: {
            username,
            password,
            grant_type: 'password',
            scope: 'all',
            tenantId: '000000'
        }
    });
